<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>change</title>
</head>
<body>
	<h1>修改</h1>
	<!--<form method="post">
		<p>ID:<input name="id" value="${publisher.id} " /></p>
		<p>NAME:<input name="name" value="${publisher.name}" /></p>
		<p>创立:<input name="yearCreated" value="${publisher.yearCreated}" /></p>
		<p>简介<input name="intro" value="${publisher.intro}" /></p>
		<p><input type="submit" value="提交"></p>
	</form> -->
	<sf:form modelAttribute="publisher" method="POST" >
		<sf:hidden path="id" /><sf:errors  path="id" cssClass="error"/>
		<p>Name:<sf:input path="name"/><sf:errors  path="name" cssClass="error"/></p>
		<p>YearCreated:<sf:input path="yearCreated" /><sf:errors  path="yearCreated" cssClass="error"/></p>
		<p><sf:textarea path="intro"/><sf:errors  path="intro" cssClass="error"/></p>
		<p><input type="submit" value="提交"></p>
	</sf:form>
</body>
</html>